package com.xln.demo8转型;

public class Duizhan extends Game {

    private String yingxiong = "tank!";
    protected String name = "CF";

    @Override
    public void play() {
        super.play();
        System.out.printf("玩求生之路！");
    }
    public void xiabao(){
        System.out.printf("安装C4！");
    }
}
